-
-
Notifications
You must be signed in to change notification settings - Fork 1k
chore: Update BenchmarkDotNet.Samples project #2898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Update BenchmarkDotNet.Samples project #2898
Conversation
|
CI tests( |
|
I've modified code to use By default, Other changes
|
de0e036 to
623e247
Compare
8ab4a13 to
dfb94a1
Compare
|
I've fixed code that pointed by review comments. Additionally, I've added following changes.
|
This PR contains following changes.
1. Add code to return exit code
Currently
void Mainis used, and it return ExitCode:0regardless validation/build/benchmark failure exists.This PR add code to return error code when failed. (Except for non-critical validation error)
2. Add
Properties/launchSettings.jsonAdd profiles to switch settings (VisualStudio or Use
--launch-profileargument).By default,
Defaultprofile is loaded. (It can be suppressed when pass--no-launch-profile)"workingDirectory": ".",setting is added to output logs based on current directory.(It'sproject directorywhen running on VS)Previous behavior output logs tobin/$(Configuration)/$(TargetFramework).3. Add code for debugging
Add dedicated config that is used when build with
Debugconfiguration.It's expected to be used for Debugging with "Run IntroBasic Benchmarks" profile.
Note:
When target benchmark define local config with
[Config(typeof(Config))].Job is merged with
ConfigUnionRule.Unionrule. And it's not works as expected.(Because both Job is executed that included GlobalConfig/LocalConfig)